package org.origin.centre.model.exception;

/**
 * 带数据的自定义异常
 *
 * @author ferret
 * @version 2024-05-08
 */
@SuppressWarnings("unused")
public class XrException extends XException {
    private Object data;

    public XrException(String message, Object data) {
        super(message);
        this.data = data;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
